package com.alm.token.ui.data.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class EggPartnerIndexData {

    /**
     * msg : 成功
     * status : 0
     * data : {"msg":"这是说明","remainSMio":36750,"mio":10000100,"goods":[{"id":1,"price":10000,"totalNum":3,"remainNum":3,"getSmio":10000,"createTime":1557196757000,"updateTime":1557198803000,"status":1,"endTime":null,"name":"10000","remark":""}]}
     * success : true
     * timestamp : 1557285132392
     * total : null
     */

    private String msg;
    private int status;
    private DataBean data;
    private boolean success;
    private long timestamp;
    private Object total;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public Object getTotal() {
        return total;
    }

    public void setTotal(Object total) {
        this.total = total;
    }

    public static class DataBean {
        /**
         * "productId":1, // 已经购买的产品id
         * "levelName":"M1", // 持有的等级名称
         * msg : 这是说明
         * remainSMio : 36750
         * mio : 10000100
         * goods : [{"id":1,"price":10000,"totalNum":3,"remainNum":3,"getSmio":10000,"createTime":1557196757000,"updateTime":1557198803000,"status":1,"endTime":null,"name":"10000","remark":""}]
         */
        private int productId;
        private String levelName;
        private String msg;
        private int buyFlag;
        private double remainSMio;
        private double remainMioEx;
        private double mio;
        private List<GoodsBean> goods;

        public int getProductId() {
            return productId;
        }

        public void setProductId(int productId) {
            this.productId = productId;
        }

        public String getLevelName() {
            return levelName;
        }

        public void setLevelName(String levelName) {
            this.levelName = levelName;
        }

        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }

        public int getBuyFlag() {
            return buyFlag;
        }

        public void setBuyFlag(int buyFlag) {
            this.buyFlag = buyFlag;
        }

        public double getRemainSMio() {
            return remainSMio;
        }

        public void setRemainSMio(double remainSMio) {
            this.remainSMio = remainSMio;
        }

        public double getRemainMioEx() {
            return remainMioEx;
        }

        public void setRemainMioEx(double remainMioEx) {
            this.remainMioEx = remainMioEx;
        }

        public double getMio() {
            return mio;
        }

        public void setMio(double mio) {
            this.mio = mio;
        }

        public List<GoodsBean> getGoods() {
            return goods;
        }

        public void setGoods(List<GoodsBean> goods) {
            this.goods = goods;
        }

        public static class GoodsBean {
            /**
             * "countDown": 86217, // 开启倒计时
             * id : 1
             * price : 10000
             * totalNum : 3
             * remainNum : 3
             * getSmio : 10000
             * createTime : 1557196757000
             * updateTime : 1557198803000
             * status : 1
             * endTime : null
             * name : 10000
             * remark :
             */
            private long countDown;
            private int id;
            private double price;
            private double totalNum;
            private double remainNum;
            private double getSmio;
            private long createTime;
            private long updateTime;
            private int status;
            private Object endTime;
            private String name;
            private String remark;

            private int level;
            private double mioPrice;
            private double num;
            private long startTime;
            private double joinMioNum;
            private double mioExNum;

            public long getCountDown() {
                return countDown;
            }

            public void setCountDown(long countDown) {
                this.countDown = countDown;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public double getPrice() {
                return price;
            }

            public void setPrice(double price) {
                this.price = price;
            }

            public double getTotalNum() {
                return totalNum;
            }

            public void setTotalNum(double totalNum) {
                this.totalNum = totalNum;
            }

            public double getRemainNum() {
                return remainNum;
            }

            public void setRemainNum(double remainNum) {
                this.remainNum = remainNum;
            }

            public double getGetSmio() {
                return getSmio;
            }

            public void setGetSmio(double getSmio) {
                this.getSmio = getSmio;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public long getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(long updateTime) {
                this.updateTime = updateTime;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public Object getEndTime() {
                return endTime;
            }

            public void setEndTime(Object endTime) {
                this.endTime = endTime;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getRemark() {
                return remark;
            }

            public void setRemark(String remark) {
                this.remark = remark;
            }

            public int getLevel() {
                return level;
            }

            public void setLevel(int level) {
                this.level = level;
            }

            public double getMioPrice() {
                return mioPrice;
            }

            public void setMioPrice(double mioPrice) {
                this.mioPrice = mioPrice;
            }

            public double getNum() {
                return num;
            }

            public void setNum(double num) {
                this.num = num;
            }

            public long getStartTime() {
                return startTime;
            }

            public void setStartTime(long startTime) {
                this.startTime = startTime;
            }

            public double getJoinMioNum() {
                return joinMioNum;
            }

            public void setJoinMioNum(double joinMioNum) {
                this.joinMioNum = joinMioNum;
            }

            public double getMioExNum() {
                return mioExNum;
            }

            public void setMioExNum(double mioExNum) {
                this.mioExNum = mioExNum;
            }
        }
    }
}
